#include "solid.h"
#include <iostream>

Solid::Solid(Solid* _first)
: sfaces(NULL)
, sedges(NULL)
, sverts(NULL)
, nexts(_first)
, prevs(NULL)
{
	if( _first )
	{
		_first->prevs = this;
	}
    //_first = this;
}

void Solid::setSolidno(int _s) 
{
		solidno = _s;
}


Face* Solid::getFace()
{
return sfaces;

}

Edge* Solid::getEdge()
{
return sedges;

}

Vertex* Solid::getVertex()
{
return sverts;

}
Solid* Solid::getNexts()
{
	return nexts;
}
int Solid::getSolidno()
{
	return solidno;
}

Face* Solid::getSfaces()
{
	return sfaces;
}



void Solid::setFace( Face* _face )
{
   sfaces = _face;
}
void Solid::setVertex( Vertex* _vertex )
{
	sverts = _vertex;
}
void Solid::setEdge( Edge* _edge )
{
  sedges = _edge;
}
